package com.zhbcm.treebuilder.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 朝花不迟暮
 * @since 2021-02-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="SqComment对象", description="")
public class SqComment extends BaseModel {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty(value = "发布者ID")
    private Long pubUserId;

    @ApiModelProperty(value = "评论")
    private String comment;

    @ApiModelProperty(value = "文章ID")
    private Long articleId;

}
